Package com.cisco.pt.ptmp.task
Class AuthenticationTask
java.lang.Object
com.cisco.pt.ptmp.task.AuthenticationTask
Class to handle Packet Tracer authentication task
- Author:
- packettracerexapps@external.cisco.com
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationTask(PacketTracerSession packetTracerSession) Constructor for AuthenticationTask object Gets application ID and shared secret from properties file -
Method Summary
-
Constructor Details
-
AuthenticationTask
Constructor for AuthenticationTask object Gets application ID and shared secret from properties file- Parameters:
packetTracerSession- PacketTracerSession
-
-
Method Details
-
authenticate
Authentication routine- Returns:
- boolean - true if authenticated
- Throws:
IOException- Authentication failed
-